# -*- coding: utf-8 -*-
# @Author  : Adolf  Frank
# @Time    : 2022-01-07 09:37


# 测试环境 ES 地址
ONLINE_ES_HOST = "10.125.128.195"
ONLINE_ES_PORT = 15422

# TCP端口为HTTP端口减去1
# 生产环境测试地址：
# TEST_ONLINE_ES_HOST = "10.188.33.205"
# TEST_ONLINE_ES_PORT = 34021

# HTTP nginx 地址： 10.188.48.237：34002
TEST_ONLINE_ES_HOST = "10.188.48.237"
TEST_ONLINE_ES_PORT = 34002
TEST_ONLINE_ES_USER = "elastic"
TEST_ONLINE_ES_PASSWORD = "H@Zr#@Y9H0"

# 生产环境正式地址：
# PRODUCT_ONLINE_ES_HOST = "10.188.33.227"
# PRODUCT_ONLINE_ES_PORT = 34019
# HTTP nginx 地址： 10.188.48.237：34001
PRODUCT_ONLINE_ES_HOST = "10.188.48.237"
PRODUCT_ONLINE_ES_PORT = 34001
PRODUCT_ONLINE_ES_USER = "elastic"
PRODUCT_ONLINE_ES_PASSWORD = "H@Zr#@Y9H0"

# 标准问题信息表
ONLINE_ES_INDEX = "faq_stand_data_index"
ONLINE_ES_TYPE = "faq_stand_data_index_type"

# 用户数据表
ONLINE_ES_INDEX_USER = "faq_user_info_index"
ONLINE_ES_TYPE_USER = "faq_user_info_index_type"

# 新闻数据
ONLINE_ES_INDEX_NEWS = "faq_news_data_index"
ONLINE_ES_TYPE_NEWS = "faq_news_data_index_type"

# 定制化数据
ONLINE_ES_INDEX_CUSTOMERS = "faq_customers_data_index"
ONLINE_ES_TYPE_CUSTOMERS = "faq_customers_data_index_type"

# 搜索日志数据
ONLINE_ES_INDEX_SEARCH_LOGS = "faq_search_query_index"
ONLINE_ES_TYPE_SEARCH_LOGS = "faq_search_query_index_type"

# 生成数据的目录位置
#RESULT_DATA_PATH = '/Users/adolf/PycharmProjects/MeterielTrend/all_data/'
# 下载目录
#DOWNLOAD_DATE_PATH = '/Users/adolf/Downloads/'
